﻿<%@ Page Title="" Language="C#" MasterPageFile="~/main2.master" AutoEventWireup="true" CodeFile="allreply.aspx.cs" Inherits="allreply" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">

<script type="text/javascript">
    function delReply() {
        if (confirm("你确定要删除吗？")) {
            return true;
        } else {
            return false;
        }
    };
</script>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<%=sb.ToString() %>
<center>
    <table cellspacing="10px" width="480px" style="text-align:left; font-size:13px;">
    <asp:Repeater ID="rpMessage" EnableViewState="true" runat="server">
        <ItemTemplate>
                <tr>
                    <td width="50px"><%#Eval("Mfromuser.UName")%></td>
                    <td>在您的<a style="color:#FF0aaa" href='detail.aspx?id=<%#Eval("MLId") %>'>(<%#Eval("Mlaf.LostProperty")%>:<%#Eval("Mlaf.GoodsName")%>)</a>中留言：
                    <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<%#Eval("MContent")%></td>
                    <td width="100px"><%#Eval("MAddTime")%></td>
                    <td width="45px"><a style="color:#FF0aaa" onclick="return delReply()" href="delReply.ashx?id=<%#Eval("MId") %>">删除</a></td>
                </tr>
        </ItemTemplate>         
    </asp:Repeater>
    </table>

    <table cellspacing="10px" width="480px" style="text-align:left;font-size:13px">
    <asp:Repeater ID="rpReply" EnableViewState="true" runat="server">
        <ItemTemplate>
                <tr>
                    <td width="60px"><%#Eval("Mfromuser.UName")%></td>
                    <td>在<a style="color:#FF0aaa" href='detail.aspx?id=<%#Eval("MLId") %>'>(<%#Eval("Mlaf.LostProperty")%>:<%#Eval("Mlaf.GoodsName")%>)</a>中回复您：
                    <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<%#Eval("MContent")%></td>
                    <td width="100px"><%#Eval("MAddTime")%></td>
                    <td width="45px"><a style="color:#FF0aaa" onclick="return delReply()" href="delReply.ashx?id=<%#Eval("MId") %>">删除</a></td>
                </tr>
        </ItemTemplate>
    </asp:Repeater>
    </table>
    </center>

</asp:Content>

